package com.swipemaster.activities;

import android.app.Activity;
import android.os.Bundle;

import com.swipemaster.levels.Level;
import com.swipemaster.levels.LevelLoader;
import com.swipemaster.opengl.OpenGLView;

public class PlaySurvivalActivity extends Activity
{
	private OpenGLView openGLView;
	private Level survivalLevel;

	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		
		survivalLevel = LevelLoader.load("survival", this);
		
		openGLView = new OpenGLView(this, survivalLevel);
		setContentView(openGLView);
		openGLView.requestFocus();
		openGLView.setFocusableInTouchMode(true);
	}
}
